package ar.com.photo_admin.domain

class Utils {

	static final RELOAD_PAGE_ON_AJAX_RESPONSE = "<script type='text/javascript'> javascript: scroll(0, 0); window.location.reload(); </script>"
	
	static reload_page_on_ajax_response(url) {
		
		if (url)
			"<script type='text/javascript'>javascript: scroll(0, 0); window.location.href='" + url + "';</script>"
		else
			RELOAD_PAGE_ON_AJAX_RESPONSE
	}
}
